#ifndef XSKY_RTC_H
#define XSKY_RTC_H

#define CYCLE_MAX   1000

extern unsigned long rtc;

extern void rtc_init(void);
extern void (*timer1ms_isr)(void);
extern void (*timer10ms_isr)(void);
extern void (*timer100ms_isr)(void);
extern void (*timer1s_isr)(void);

#endif